﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyInvoice.Services
{
    public class DatabaseService
    {
        EasyInvoice.SqlCEDAL.IDatabase dal;
        public DatabaseService(EasyInvoice.SqlCEDAL.IDatabase dal)
        {
            if (dal == null)
            {
                throw new ArgumentNullException("dal");
            }
            this.dal = dal;
        }
        public void Create()
        {
            dal.Create();
        }
    }
}
